     <div class="row wrapper border-bottom white-bg page-heading">
        <div class="col-lg-12">
         <h1></h1>
            <ol class="breadcrumb">
                <li>
                  <a href="<?php echo site_url('user/index'); ?>">用户管理</a>
                </li>
                <li>
                    <a href="">编辑用户</a>
                </li>

            </ol>
        </div>
    </div>
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-lg-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5></h5>
                       
                    </div>
                   
                    <div class="ibox-content">

                        <form method="post"  action="<?php site_url('user/edit/' . $user->id);?>" class="form-horizontal">

                            <div class="form-group">
                                <label class="col-sm-2 control-label">用户名称</label>

                                <div class="col-sm-3">
                                    <input name="username"  value="<?php echo $user->name; ?>" type="text" class="form-control">
                                </div>
                            </div>

                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">邮箱</label>

                                <div class="col-sm-3">
                                    <input name="email" value="<?php echo $user->email; ?>" required type="email" class="form-control">
                                </div>
                            </div>

                        

                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-2">
                                    <button class="btn btn-primary" type="submit">保存</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
</div>